<extend name="Users:layout" />
<block name="content">
<script src="__PUBLIC__/plugins/layer/layer.min.js"></script>
<script src="__JS__/index.js"></script>
<script src="__JS__/orders.js"></script>
<script type="text/javascript">
$(document).ready(function(){
    if($(".wst-payCode")[0])$(".wst-payCode")[0].click();
});
</script>
<link rel="stylesheet" href="__CSS__/ordersuccess.css" />
<link rel="stylesheet" href="__CSS__/pslocation.css" />
<link rel="stylesheet" href="__CSS__/magnifier.css" />
<style>
    .wst-account .yue{margin:20px;}
    .wst-account .tixian{margin:20px;}
    .wst-account .chongzhi{float:left;margin:20px;}
    .wst-account{background-color: #fcfae2}
    .wst-details .zichan{font-size: 14px;margin:18px;}
    .wst-details .classify,.time{margin:16px;}
    .wst-details span{color:#999;padding-right:20px;}
    .wst-details a{padding-right:20px;}
    .wst-log th{background-color: #fcfae2}
</style>
    <div class="wst-body"> 
        <div class='wst-page-header'>买家中心 > 账户充值</div>
        <div class='wst-page-content'>
       	<div class='wst-account'>
            <div class="yue">
                充值账号：<span style="font-size: 20px;color:red">{$user['loginName']}</span>
            </div>
            <div class="tixian" >
                充值金额：
                <select id="chargeMoney">
                    <option value='50'>50</option>
                    <option value='100'>100</option>
                    <option value='200'>200</option>
                    <option value='500'>500</option>
                </select>
            </div>
            <div class="wst-clear"></div>
        </div>
        <div class='wst-details'>
            <div class='zichan'>第三方支付：</div>
            <div class='classify'>
                <div style="width:700px;float:left;">
                <input type="hidden" id="payCode" name="payCode" value="{$payCode}"/>
                <volist name="payments['onlines']" key="key" id="payment">
                    <if condition="$payment['isOnline'] eq 1">
                    <div class="wst-payCode" data="{$payment['payCode']}"><img src="__ROOT__/{$payment['payIcon']}" width="160" height="45"/></div>
                    </if>
                </volist>
                </div>
                <div class="wst-clear"></div>
            </div>
        </div>
        <div class="wst-log">
            <div style="height:50px;line-height:50px;margin-top: 15px;">
                <input type="button" onclick="addCharge();" style="width:120px;height:35px;font-size:16px;" value="确认充值"/>
            </div>
        </div>
    </div>
</block> 